package net.mingsoft.cmsMessage.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import net.mingsoft.base.entity.BaseEntity;

import java.util.Date;
/**
* 消息推送实体
* @author ym
* 创建日期：2022-1-2 16:29:22<br/>
* 历史修订：<br/>
*/
@TableName("CMS_MESSAGECMS_MESSAGE")
public class CmsMessageEntity extends BaseEntity {

private static final long serialVersionUID = 1641112162509L;


	/**
	* 消息状态}
	*/
	@TableField(condition = SqlCondition.LIKE)
	private String messageStatus;

	/**
	* 推送目标}
	*/
	
	private String pushPerson;

	/**
	* 推送时间}
	*/
	@JSONField(format = "yyyy-MM-dd hh-mm-ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd hh-mm-ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh-mm-ss")
	
	private Date pushTime;

	/**
	* 内容}
	*/
	
	private String content;

	/**
	* 标题}
	*/
	@TableField(condition = SqlCondition.LIKE)
	private String tittle;


	/**
	* 设置消息状态
	*/
	public void setMessageStatus(String messageStatus) {
	this.messageStatus = messageStatus;
	}

	/**
	* 获取消息状态
	*/
	public String getMessageStatus() {
	return this.messageStatus;
	}
	/**
	* 设置推送目标
	*/
	public void setPushPerson(String pushPerson) {
	this.pushPerson = pushPerson;
	}

	/**
	* 获取推送目标
	*/
	public String getPushPerson() {
	return this.pushPerson;
	}
	/**
	* 设置推送时间
	*/
	public void setPushTime(Date pushTime) {
	this.pushTime = pushTime;
	}

	/**
	* 获取推送时间
	*/
	public Date getPushTime() {
	return this.pushTime;
	}
	/**
	* 设置内容
	*/
	public void setContent(String content) {
	this.content = content;
	}

	/**
	* 获取内容
	*/
	public String getContent() {
	return this.content;
	}
	/**
	* 设置标题
	*/
	public void setTittle(String tittle) {
	this.tittle = tittle;
	}

	/**
	* 获取标题
	*/
	public String getTittle() {
	return this.tittle;
	}

}
